-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds several Lean backends for built-in SAIL functions (mostly arithmetic and equality) #954
Adds several Lean backends for built-in SAIL functions (mostly arithmetic and equality) #954
Conversation
Uses Nat.sub
We're using function composition, which may or may not be okay.
Can you update the description of the PR to explain what it actually adds? |
Can you add the |
I think you need to overwrite the expected output once more for the CI to not complain. I always just do |
@benjaminselfridge, we need another rebase/merge to get the conflicts resolved. |
Thank you. Did you also rebuild sail and re-generate the test cases? It seems as if this may have been missed. |
@!$# I'll get used to this eventually. Just rebuilt and pushed, hopefully this is the one. |
17f594c
to
dd6414e
Compare
Sorry about the churn -- I pushed to this branch again by accident! :( |
Add annotations for the following SAIL builtins:
From
arith.sail
:add_int
sub_int
negate_atom
negate_int
mult_atom
mul_int
max_int
min_int
From
flow.sail
:eq_unit
not_bool
lteq_int
gteq_int
lt_int
gt_int
From
generic_equality.sail
:eq_anything
neq_anything